package cn.zc.student.service.service;

import cn.zc.student.entity.Dto.StudentExercisesRespondenceDto;
import cn.zc.student.entity.StudentExercisesRespondence;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 学生练习题作答 服务类
 * </p>
 *
 * @author keno
 * @since 2022-02-23
 */
public interface StudentExercisesRespondenceService extends IService<StudentExercisesRespondence> {
    /**
     * 保存作答记录
     * @param list
     * @return
     */
    boolean createStudentExercisesRespondence(List<StudentExercisesRespondence> list);

    /**
     * 查询学生作答
     * @param menuId
     * @param studentId
     * @return
     */
    List<StudentExercisesRespondenceDto> findStudentExercisesRespondence(String menuId, String studentId);
}
